package com.platform.modular.feign.car;

/**
 * @author yifei.han
 * @version 1.0
 * @className MerchantSeriesFeignService
 * @description
 * @date 2022/3/14
 */

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.platform.modular.model.car.vo.MerchantSeriesDetailVO;
import com.platform.modular.model.car.vo.MerchantSeriesVO;
import com.platform.modular.model.car.vo.MerchantSeriesWithHotSeriesVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

@FeignClient(value = "sk-platform-car")
public interface MerchantSeriesFeignService {

    @RequestMapping(value = "/merchantseries/miniprogramMerchantSeriesWithHotSeries")
    MerchantSeriesWithHotSeriesVO miniprogramMerchantSeriesWithHotSeries(Long merchantId);

    @RequestMapping(value = "/merchantseries/miniprogramMerchantSeriesPage")
    IPage<MerchantSeriesVO> miniprogramMerchantSeriesPage(Map<String, Object> params);

    @RequestMapping(value = "/merchantseries/miniprogramMerchantSeriesDetail")
    MerchantSeriesDetailVO miniprogramMerchantSeriesDetail(Long merchantSeriesId);

}
